home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 2.6 KB | 86 lines | [TEXT/GEOL] |
- Item 8727289 6-Sept-89 05:51
-
- From: D2769 Comusearch, James Benson,PRT
-
- To: D0481 Data Translation, Robert White,PRT
-
- cc: MACAPP.TECH$ MACAPP Tech
-
- Sub: RE. Linking C and MacApp 2.0b9
-
- Item 9102804 5-Sept-89 13:26
-
- From: D0481 Data Translation, Robert White,PRT
-
- To: MACDTS Mac Developer Tech Support, APL
-
- cc: MACAPP.TECH$ MACAPP Tech
-
- Sub: MacApp 2.0b9 Linking C Libs
-
- From : Marshall Houskeeper
- Data Translation
-
- Subject : MacApp 2.0b9 Linking with C Libraries
-
-
- My application is a composite of Pascal and C routines. Now under MacApp 2.0b9
- I am having problems linking in the C libraries. Under MacApp 2.0b5 the
- NeededSysLibs in the make was:
-
- NeededSysLibs = ∂
- "{CLibraries}CLib881.o" ∂
- "{CLibraries}CInterface.o" ∂
- "{CLibraries}StdClib.o" ∂
- "{CLibraries}CRuntime.o" ∂
- "{Libraries}Interface.o" ∂
- "{PLibraries}PasLib.o" ∂
- "{PLibraries}SANELib881.o"
-
- With MacApp 2.0b5 I had no problems linking, and all worked fine. With the new
-
- structure of the make file for MacApp 2.0b9, I removed the NeededSysLibs and
- added the C libraries to the OtherLinkFiles list. This was done under the
- direction of the documentation.
-
- OtherLinkFiles = ∂
- "{CLibraries}CLib881.o" ∂
- "{CLibraries}CInterface.o" ∂
- "{CLibraries}StdClib.o" ∂
- "{CLibraries}CRuntime.o" ∂
- "{ObjApp}TIFF2.C.o" ∂
- "{ObjApp}color functions2.c.o" ∂
- "{ObjApp}C_Mapping.c.o" ∂
- "{ObjApp}DT2270 Board.c.o" ∂
- "{ObjApp}UTemp_file.p.o" ∂
- "{ObjApp}GlobalConst.p.o" ∂
- .
- .
- .
-
- Now when I link the application I get link warnings such as:
-
- ### While reading file "HD:MPW:Libraries:CLibraries:StdClib.o"
- ### Link: Warning: Duplicate symbol definition, ignored. (Error 21) _doscan
- # defined in file: "HD:MPW:Libraries:CLibraries:CLib881.o"
- ### Link: Warning: Duplicate symbol definition, ignored. (Error 21) _doprnt
- # defined in file: "HD:MPW:Libraries:CLibraries:CLib881.o"
- ### Link: Warning: Duplicate symbol definition, ignored. (Error 21) atof
- # defined in file: "HD:MPW:Libraries:CLibraries:CLib881.o"
- .
- .
- .
- ### Link: Warning: Code segment too big. Limit = (Error 35) 32760
-
- The Segment "Main" size=$834C (33612) is greater then max segment size. It
- appears
- that many of the C and MacApp and toolbox functions are being placed in the
- MAIN
- segment.
-
- I would appreciate any help you could give me.
-
-
-
-
-